package com.nwpu.coursesupport.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.nwpu.coursesupport.entity.bean.BaseEntity;
import com.nwpu.coursesupport.enumeration.Status;

public class ForumPost extends BaseEntity{
	
	private String title;
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm",timezone="GMT+8")
    private Date createDate;
    private Integer createId;
    private Integer moduleId;
    private Status isSolve;
    private Status isMostValue;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public Integer getModuleId() {
        return moduleId;
    }

    public void setModuleId(Integer moduleId) {
        this.moduleId = moduleId;
    }

    public Status getIsSolve() {
        return isSolve;
    }

    public void setIsSolve(Status isSolve) {
        this.isSolve = isSolve;
    }

    public Status getIsMostValue() {
        return isMostValue;
    }

    public void setIsMostValue(Status isMostValue) {
        this.isMostValue = isMostValue;
    }
}
